package com.woniuxy.cloud.procurementassembly.param;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 周川雄
 * @date 2022/2/21 19:13
 */
@Data
public class UpdateBatteryOrderStatueParam {
    @NotNull(message = "订单号不能为空")
    private Integer orderId;
    @Max(value = 2, message = "请输入1或者2,1审批（成功-进入采购流程）,2审批(失败)")
    @Min(value = 1, message = "请输入1或者2,1审批（成功-进入采购流程）,2审批(失败)")
    private Integer statues;
}

